package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.model.StoreZoneProduct;
import com.zbkj.crmeb.store.request.StoreZoneProductRequest;

import java.util.List;


/**
 * 轮播图
 */
public interface StoreZoneProductService extends IService<StoreZoneProduct> {

    /**
     *
     * @param storeZoneProduct
     * @return
     */
    Integer saveStoreZoneProduct(StoreZoneProduct storeZoneProduct);

    int delete(StoreZoneProductRequest request);

    boolean saveBatch(StoreZoneProductRequest request);

    /**
     * 置顶
     * @author cyz
     * @date 2021/4/22 14:41
     * @param request
     * @return java.lang.Boolean
     */
    Boolean update(StoreZoneProductRequest request);

    boolean addZoneProducts(Integer id, List<Integer> productIdList, List<Integer> zoneIdList);

    Integer delBatchZoneProduct(StoreZoneProductRequest request);
}
